package com.cskaoyan.bean.vo.homeIndex;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 杨杰
 * @version V1.0
 * @Package com.cskaoyan.bean.vo.homeIndex
 * @date 2020/12/8 15:08
 * @Copyright © 暂时还没有
 * @description
 */
@Data
public class BannerIndex {
    private int id;
    private String name;
    private String link;
    private String url;
    private int position;
    private String content;
    private boolean enabled;
    @DateTimeFormat(pattern = "yy-MM-dd")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date addTime;
    @DateTimeFormat(pattern = "yy-MM-dd")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    private boolean deleted;
}
